Syntax Highlighting
To make code files easier to read, Code Editor uses syntax highlighting, which displays code elements in different colors. For example, the editor displays Mastercam VBScript code in the following colors:
- Comments: Green
- Visual Basic keywords: Blue
- User code: Black
- Strings: Brown
VBScript and the VBScript Manager have been deprecated and will be completely removed from Mastercam 2024. We recommend that you convert your VBScripts to Mastercam NET-Scripts. If you need assistance, contact SDK@mastercam.com.
Code Editor also displays NC, MP, and MPNET files with syntax highlighting. You can customize the code colors used for each language in the Application Options dialog box.





